package com.explorati.design_pattern.comparson.structural.dynamicproxy;

import com.explorati.design_pattern.comparson.structural.proxy.IStar;
import com.explorati.design_pattern.comparson.structural.proxy.Star;

public class Client {

	public static void main(String[] args) {
		IStar star = (IStar) new DynamicProxy(new Star("刘亦菲")).bind();
		star.action();
		star.advert();
	}
}
